package com.ants.boot.system.dto.sysuser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * @author 蚂蚁会花呗
 * @date 2022/4/21 10:16
 * 更新用户个人中心
 */
@ApiModel(value = "更新用户信息")
public class UpdateProfileDto {

    @ApiModelProperty(value = "用户账号")
    @NotBlank(message = "账号不能为空！")
    private String username;

    @ApiModelProperty(value = "用户昵称")
    @NotBlank(message = "昵称不能为空！")
    private String nickName;

    @ApiModelProperty(value = "手机号码")
    @NotBlank(message = "手机号码不能为空！")
    private String phoneNumber;

    @ApiModelProperty(value = "邮箱")
    @NotBlank(message = "邮箱不能为空！")
    private String email;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
}
